import Vue from 'vue'
import 'babel-polyfill'

import App from './App.vue'
import store from './store'
import router from './router'
import i18n from './lang'
import './permission'

/* 添加指令 */
import '@/plugins/directive.js'
import '@/plugins/element.js'
import '@/plugins/event-bus.js'// 加载事件总线

Vue.config.productionTip = false

new Vue({
  store,
  router,
  i18n,
  render: h => h(App)
}).$mount('#app')
